| Description | : The Local Search API lets you send a search query to Bing and get back search results that include local businesses such as restaurants, hotels, retail stores, or other local businesses. The query can specify the name of the local business or it can ask for a list (for example, restaurants near me). |
| Reference | : Link ¶ |
⚼ Request
GET:
/v7.0/localbusinesses/search
{
X-BingApis-SDK:
string
,
Accept:
string
,
Accept-Language:
string
,
Pragma:
string
,
User-Agent:
string
,
X-MSEdge-ClientID:
string
,
X-MSEdge-ClientIP:
string
,
X-Search-Location:
string
,
cc:
string
,
mkt:
string
,
q:
string
,
localcategories:
string
,
localcircularview:
string
,
localmapview:
string
,
count:
string
,
first:
string
,
ResponseFormat:
array
,
SafeSearch:
string
,
SetLang:
string
,
}
⚐ Response (200)
{
queryContext:
{
,
originalQuery:
string
,
alteredQuery:
string
,
alterationDisplayQuery:
string
,
alterationOverrideQuery:
string
,
adultIntent:
boolean
,
askUserForLocation:
boolean
,
isTransactional:
boolean
,
_type:
string
,
}
places:
{
,
value:
}
[
]
,
{
,
name:
string
,
url:
string
,
entityPresentationInfo:
}
{
,
entityScenario:
enum
,
entityTypeHints:
[
,
string
,
]
entityTypeDisplayHint:
string
,
query:
string
,
entitySubTypeHints:
[
,
string
,
]
_type:
string
,
}
lottery:
{
,
queryContext:
{
,
originalQuery:
string
,
alteredQuery:
string
,
alterationDisplayQuery:
string
,
alterationOverrideQuery:
string
,
adultIntent:
boolean
,
askUserForLocation:
boolean
,
isTransactional:
boolean
,
_type:
string
,
}
totalEstimatedMatches:
integer
,
isFamilyFriendly:
boolean
,
}
searchResultsConfidenceScore:
number
,
}
⚐ Response (default)
{
errors:
}
[
]
,
{
,
code:
enum
,
subCode:
enum
,
message:
string
,
moreDetails:
string
,
parameter:
string
,
value:
string
,
_type:
string
,
}